package com.estate.pojo;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Value;

/**
 * 
 * @author HE
 */
public class Ban {
    private Integer banId;

    private Integer banRegionId;//区域id

    private String banCode;//楼栋编码（唯一）

    private String banName;//楼栋名称（唯一）
    
    private String banTypeName;//租售类型

    private String banControl;//销控显示（‘销控表’‘平面图’）

    private String banControlLicenseNumber;//销售许可证编号

    private Date banControlLicenseDate;//销售许可证日期

    private String banPreparationMethodNumber;//骏备编号

    private Date banPreparationMethodDate;//骏备日期

    private Date banExpectedDeliveryDate;//预计交房日期
    
    private Integer banRoomNumber = 0;//房间套数（套）【默认为0】

    private Double banArchitectureAcreage = 0.00;//建筑面积合计（m²）【默认为0.00】

    private Double banSetAcreage = 0.00;//套内面积合计（m²）【默认为0.00】

    private String banLayout;//房间布局【可选值为：‘多套单位’‘独立别墅’‘车位’】
    
    
    /*自定义的属性，方便添加楼栋用的属性*/
    private Integer diyId;
    
    //区域对象
    private Region region;
    
    //楼栋集合  ?????
    private List<Ban> ban;
    

    public Integer getBanId() {
        return banId;
    }

    public void setBanId(Integer banId) {
        this.banId = banId;
    }

    public Integer getBanRegionId() {
        return banRegionId;
    }

    public void setBanRegionId(Integer banRegionId) {
        this.banRegionId = banRegionId;
    }

    public String getBanCode() {
        return banCode;
    }

    public void setBanCode(String banCode) {
        this.banCode = banCode == null ? null : banCode.trim();
    }

    public String getBanName() {
        return banName;
    }

    public void setBanName(String banName) {
        this.banName = banName == null ? null : banName.trim();
    }

    public String getBanControl() {
        return banControl;
    }

    public void setBanControl(String banControl) {
        this.banControl = banControl == null ? null : banControl.trim();
    }

    public String getBanControlLicenseNumber() {
        return banControlLicenseNumber;
    }

    public void setBanControlLicenseNumber(String banControlLicenseNumber) {
        this.banControlLicenseNumber = banControlLicenseNumber == null ? null : banControlLicenseNumber.trim();
    }

    public Date getBanControlLicenseDate() {
        return banControlLicenseDate;
    }

    public void setBanControlLicenseDate(Date banControlLicenseDate) {
        this.banControlLicenseDate = banControlLicenseDate;
    }

    public String getBanPreparationMethodNumber() {
        return banPreparationMethodNumber;
    }

    public void setBanPreparationMethodNumber(String banPreparationMethodNumber) {
        this.banPreparationMethodNumber = banPreparationMethodNumber == null ? null : banPreparationMethodNumber.trim();
    }

    public Date getBanPreparationMethodDate() {
        return banPreparationMethodDate;
    }

    public void setBanPreparationMethodDate(Date banPreparationMethodDate) {
        this.banPreparationMethodDate = banPreparationMethodDate;
    }

    public Date getBanExpectedDeliveryDate() {
        return banExpectedDeliveryDate;
    }

    public void setBanExpectedDeliveryDate(Date banExpectedDeliveryDate) {
        this.banExpectedDeliveryDate = banExpectedDeliveryDate;
    }

    public Integer getBanRoomNumber() {
        return banRoomNumber;
    }

    public void setBanRoomNumber(Integer banRoomNumber) {
        this.banRoomNumber = banRoomNumber;
    }

    public Double getBanArchitectureAcreage() {
        return banArchitectureAcreage;
    }

    public void setBanArchitectureAcreage(Double banArchitectureAcreage) {
        this.banArchitectureAcreage = banArchitectureAcreage;
    }

    public Double getBanSetAcreage() {
        return banSetAcreage;
    }

    public void setBanSetAcreage(Double banSetAcreage) {
        this.banSetAcreage = banSetAcreage;
    }

    public String getBanLayout() {
        return banLayout;
    }

    public void setBanLayout(String banLayout) {
        this.banLayout = banLayout == null ? null : banLayout.trim();
    }

	public String getBanTypeName() {
		return banTypeName;
	}

	public void setBanTypeName(String banTypeName) {
		this.banTypeName = banTypeName;
	}

	public List<Ban> getBan() {
		return ban;
	}

	public void setBan(List<Ban> ban) {
		this.ban = ban;
	}

	public Integer getDiyId() {
		return diyId;
	}

	public void setDiyId(Integer diyId) {
		this.diyId = diyId;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}
}